To animate a 3D surface, include n in the function. In a 3D surface, theta is the angle of (x,y) from the x axis. It goes from -π to +π. In a 3D surface, r is the distance of (x,y) from (0,0). To graph a 3D surface, type a function of x and y, starting with “z=”.